Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


ActiveBorderContainsPoint

The ActiveBorderContainsPoint method returns a Boolean value that indicates whether this facet's frame is active and a point is within its active frame border.

ODBoolean ActiveBorderContainsPoint (
                                 in ODPoint point,
                                 in ODCanvas biasCanvas);
point
The location to test, expressed in frame coordinates.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
return value
kODTrue if this facet's frame is active and a point is within its active frame border, otherwise kODFalse.
DISCUSSION
Your part calls its embedded facet's ActiveBorderContainsPoint method when it receives a mouse-enter or mouse-within event. Your part uses this method to do mouse-up event tracking by checking to see if the event received is in one of its embedded facets.

OpenDoc draws this facet's active frame border on the border of the active shape associated with this facet. The active frame border is derived from the active shape, but is not identical to it.

SEE ALSO
The ODPoint type (page 885).
The ODFacet::ContainsPoint method (page 236).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help